<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<c:if test="${b_T_Ufp_EngineerCategory !=null}">
<div class="pageHeader" style="border:1px #B8D0D6 solid">
	<form rel="pagerForm" onsubmit="return divSearch(this, 'engineerCategoryList');" action="projectmanagement/EngineerCategory_engineerCategoryList?b_T_Ufp_EngineerCategory.positionUuid=${b_T_Ufp_EngineerCategory.positionUuid}&b_T_Ufp_EngineerCategory.positionName=${b_T_Ufp_EngineerCategory.positionName}&b_T_Ufp_EngineerCategory.engineeringUuid=${b_T_Ufp_EngineerCategory.engineeringUuid}&categoryStatus=${categoryStatus}&isupdate=${isupdate}" method="post" >
        <div class="searchBar">
           <table class="searchContent">
				<tr>
					<td class="dateRange">
						${b_T_Ufp_EngineerCategory.positionName}
					</td>
					<td>
						小计:${totalamount}元
					</td>
			
				</tr>
			</table>
            </div>
        </div>
    </form>
<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
                <a class="add" href="systemsetting/Category_categoryRecycling?categoryStatus=${categoryStatus}&positiontype=${b_T_Ufp_EngineerCategory.positionUuid},${b_T_Ufp_EngineerCategory.positionName},${b_T_Ufp_EngineerCategory.engineeringUuid}&isupdate=${isupdate}" target="dialog" rel="projectDetail"  width="1155" height="580" maxable="false" resizable="false" mask="true"><span>添加项目</span></a>
            </li>
            <li>
                <a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="projectmanagement/EngineerCategory_engineerCategoryDelete" class="delete"><span>删除</span></a>
          	</li>
          	<li>
          	<a title="自定义" target="dialog"  width="500" height="485" href="projectmanagement/EngineerCategory_engineerCategoryDetail?b_T_Ufp_EngineerCategory.engineeringUuid=${b_T_Ufp_EngineerCategory.engineeringUuid}&positiontype=${b_T_Ufp_EngineerCategory.positionUuid},${b_T_Ufp_EngineerCategory.positionName}" rel="editMsg" class="add"><span>自定义</span></a>
          	</li>
            <li class="line">
                line
            </li>
           
        </ul>
    </div>
    <table class="table" width="100%" layoutH="148">
        <thead>
            <tr>
                <th width="2%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
                <%-- <th width="2%" >
              序号        
                </th>
                 <th width="10%" orderField="projectName" <c:if test="${(pager.orderField)== 'project_name' }">class="${pager.orderDirection}"</c:if>>
             项目名称
                </th>
             
                <th width="5%" orderField="unit" <c:if test="${(pager.orderField)== 'unit' }">class="${pager.orderDirection}"</c:if>>
                 单位
                </th>
                 <th width="5%" orderField="laborCost" <c:if test="${(pager.orderField)== 'labor_cost' }">class="${pager.orderDirection}"</c:if>>
                人工费
                </th>
                 <th width="5%" orderField="materialCost" <c:if test="${(pager.orderField)== 'material_cost' }">class="${pager.orderDirection}"</c:if>>
                材料费
                </th>
                  <th width="5%" orderField="total" <c:if test="${(pager.orderField)== 'total' }">class="${pager.orderDirection}"</c:if>>
                单价
                </th>
                 <th width="5%" orderField="quantities" <c:if test="${(pager.orderField)== 'quantities' }">class="${pager.orderDirection}"</c:if>>
                工程量
                </th>
                 <th width="5%" orderField="totalAmount" <c:if test="${(pager.orderField)== 'total_amount' }">class="${pager.orderDirection}"</c:if>>
                合计金额
                </th>
                  <th width="10%" orderField="remark" <c:if test="${(pager.orderField)== 'remark' }">class="${pager.orderDirection}"</c:if>>
              附加说明
                </th> --%>
             <!--    <th width="2%" >
              序号        
                </th> -->
                <th width="6%" >
             项目编号
                </th>
                 <th width="10%" >
             项目名称
                </th>
                <th width="6%" >
            饰面
                </th>
                <th width="5%" >
                 单位
                </th>
                 <th width="5%" >
                人工费
                </th>
                 <th width="5%" >
                材料费
                </th>
                  <th width="5%" >
                单价
                </th>
                 <th width="5%" >
                工程量
                </th>
                 <th width="5%" >
                合计金额
                </th>
                  <th width="8%" >
              附加说明
                </th>
                <th width="8%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
    
        <c:forEach items="${pager.pageRecords}" var="b_T_Ufp_EngineerCategory" varStatus="s">
            <tr target="sid_user" rel="1">
                <td>
                    <input name="checkIds" value="${b_T_Ufp_EngineerCategory.uuid}" type="checkbox">
                </td>
               <%--   <td>
                  ${s.count +pager.pageSize*(pager.currentPage-1)}
                </td> --%>
                <td>
                    ${b_T_Ufp_EngineerCategory.projectNum }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.projectName }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.finishes }
                </td>
                  <td>
                    ${b_T_Ufp_EngineerCategory.unit }
                </td>
                 <td>
                    ${b_T_Ufp_EngineerCategory.laborCost }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.materialCost }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.total }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.quantities }
                </td>
                <td>
                    ${b_T_Ufp_EngineerCategory.totalAmount }
                </td>
                 <td>
                  ${b_T_Ufp_EngineerCategory.remark }
                </td>
                <td>
                    <a title="删除" target="ajaxTodo" href="projectmanagement/EngineerCategory_engineerCategoryDelete?checkIds=${b_T_Ufp_EngineerCategory.uuid}" class="btnDel">删除</a>
                    <a title="编辑" target="dialog"  width="530" height="460" href="projectmanagement/EngineerCategory_engineerCategoryDetail?b_T_Ufp_EngineerCategory.uuid=${b_T_Ufp_EngineerCategory.uuid}&isupdate=${isupdate}" rel="editMsg" class="btnEdit">编辑</a>
                </td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
    <div class="panelBar">
       <!--  <jsp:include page="../include/_dwz_form_bottomAjax.jsp" /> -->
    </div>
</div>
</c:if>
